In [1]:
!date #last update


Mon Feb  8 01:52:35 CST 2016

Required:


In [ ]:
import os.path, gitpath #pip install git+'https://github.com/ruxi/python-gitpath.git'
os.chdir(gitpath.root()) # changes path to .git root
#os.getcwd() #check current work directory

Install Jekyll

by Ruxi

Feb 8, 2016

Instructions


In [2]:
## Ref

 - http://jekyllrb.com/docs/installation/
 - http://jmcglone.com/guides/github-pages/

In [ ]:

Version control

Saving


In [18]:
py_commit_msg = """
Install Jekyll
"""

In [21]:
%%bash -s "$py_commit_msg"
echo $1
git add --all :/
git commit -a -m "$1" #message from py_commit_msg
git push origin master


templating py_commit_msg
[master b295fba] templating py_commit_msg
 2 files changed, 135 insertions(+), 22 deletions(-)
To git@github.com:ruxi/ruxi.github.io.git
   cab82fa..b295fba  master -> master

Pulling

git fetch --all
git pull origin master

In [ ]: